<%@page import="com.duowan.cms.core.rmi.client.channel.ChannelRemoteService"%>
<%@page import="com.duowan.cms.common.webapp.content.SpringApplicationContextHolder"%><%@page import="com.duowan.cms.dto.channel.ChannelInfo"%><%@page import="com.duowan.cms.core.rmi.client.article.ArticleRemoteService"%>



<%


ChannelRemoteService channelRemoteService = SpringApplicationContextHolder.getBean("channelRemoteService", ChannelRemoteService.class);

ChannelInfo c = channelRemoteService.getById("news");
out.println(c.getId() + ":" + c.getName());

ArticleRemoteService articleRemoteService = SpringApplicationContextHolder.getBean("articleRemoteService", ArticleRemoteService.class);
out.println(articleRemoteService.checkTitleIsExisted("ceshi", null, "测试投稿新发布器20130423"));


%>
hello!